package com.qing.springbootinit.service.impl.inner;

import com.qing.qingapicommon.service.InnerUserInterfaceInfoService;
import com.qing.springbootinit.service.UserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

// * @author qingfengzy
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {
    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;
    @Override
    public boolean invokeCount(long interfaceInfoId, long userId) {
        //        如何获取接口方法？
//        就是检验他们的ak sk后就检测是否可以调用，可以调用成功就加一
        return userInterfaceInfoService.invokeCount(interfaceInfoId,userId);
    }
}
